package com.jron.cqiu.kernel.execution;

import com.jron.cqiu.util.Instance;
import com.jron.cqiu.kernel.exception.OrderExecFailedException;

/**
 * Created by Intellij IDEA.
 *
 * @Author: Yejw
 * @Date: 2008-6-20
 * @Time: 11:48:56
 */
public interface IExecution {

    /**
     *
     */
    IExecution INSTANCE = Instance.EXECUTION_PROXY_INSTANCE;

    void execMailOrder(String orderMethod, String orderFrom, String... args) throws OrderExecFailedException;

    void shutdownScheduler(boolean waitForJobsToComplete);
}
